﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{

}

<blockquote class="layui-elem-quote1 quoteBox layui-form">
    <div class="layui-form-item layui-card">
        <div class="layui-card-header tool-btn">
            <a class="layui-btn  layui-btn-darkblue" id="funBtnAddRoot"><i class="layui-icon layui-icon-add-1"></i>增加根节点</a>
        </div>
        <div class="layui-card-body">
            <label class="layui-form-label" style="width:80px;padding:9px 5px">角色名称：</label>
            <div class="layui-inline">
                <input type="text" class="layui-input" autocomplete="off" id="txtKeyWord" />
            </div>
            <div class="layui-inline">
                <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
            </div>
        </div>
    </div>
</blockquote>

<div class="layui-form">
    <table class="layui-hide" id="roleList" lay-filter="roleList"></table>
</div>

@section Foot
{
    <script type="text/html" id="gridTool">
        <a class="layui-btn layui-btn-xs layui-btn-lightgreen" lay-event="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="funBtnFilter"><i class="layui-icon layui-icon-auz"></i>授权</a>
        {{# if (d.bIsSuperAdmin===false){}}
        <a class="layui-btn  layui-btn-xs  layui-btn-danger " lay-event="funBtnRemove"><i class="layui-icon layui-icon-delete"></i>删除</a>
        {{# } else { }}
        <a class="layui-btn layui-btn-xs layui-btn-disabled"><i class="layui-icon layui-icon-delete"></i>删除</a>
        {{# } }}
    </script>
    <script src="~/Areas/Authority/js/role.list.js"></script>
}


